/*
 * @Description: 
 * @Date: 2024-03-04 14:10:08
 * @LastEditTime: 2024-04-01 09:31:12
 */
import request from '@/utils/request'
// 新增菜单
export function addManager(data) {
    return request({
        url: '/system/manager',
        method: 'post',
        data: data
    })
}
// 查询菜单
export function getManagerList(params) {
    return request({
        url: '/system/manager/list',
        method: 'get',
        params
    })
}
// 删除菜单
export function eleManager(menuIds) {
    return request({
        url: `/system/manager/${menuIds}`,
        method: 'delete',
    })
}

// 查询规则管理详细 
export function getManager(id) {
    return request({
        url: '/system/manager/' + id,
        method: 'get'
    })
}
///system/manager
export function updateManager(data) {
    return request({
        url: '/system/manager',
        method: 'put',
        data: data
    })
}